package com.ants.boot.system.domain;

import com.ants.boot.model.BaseModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/22 13:43
 * 登录日志
 */
public class SysLoginLog extends BaseModel {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 登录名称
     */
    private String loginName;

    /**
     * 登录地址
     */
    private String loginIp;

    /**
     * 登录地址
     */
    private String loginAddress;

    /**
     * 登录浏览器
     */
    private String loginBrowser;

    /**
     * 登录的操作系统
     */
    private String loginOs;

    /**
     * 登录状态
     */
    private String loginStatus;

    /**
     * 登录信息
     */
    private String loginMsg;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginAddress() {
        return loginAddress;
    }

    public void setLoginAddress(String loginAddress) {
        this.loginAddress = loginAddress;
    }

    public String getLoginBrowser() {
        return loginBrowser;
    }

    public void setLoginBrowser(String loginBrowser) {
        this.loginBrowser = loginBrowser;
    }

    public String getLoginOs() {
        return loginOs;
    }

    public void setLoginOs(String loginOs) {
        this.loginOs = loginOs;
    }

    public String getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(String loginStatus) {
        this.loginStatus = loginStatus;
    }

    public String getLoginMsg() {
        return loginMsg;
    }

    public void setLoginMsg(String loginMsg) {
        this.loginMsg = loginMsg;
    }

    public SysLoginLog() {
    }

    public SysLoginLog(String loginName, String loginIp, String loginAddress, String loginBrowser, String loginOs, String loginStatus,String loginMsg) {
        this.loginName = loginName;
        this.loginIp = loginIp;
        this.loginAddress = loginAddress;
        this.loginBrowser = loginBrowser;
        this.loginOs = loginOs;
        this.loginStatus = loginStatus;
        this.loginMsg = loginMsg;
    }
}
